<template>
  <div>
        <div  style="width:30px;position: absolute;
    right: 2px;" @click="clickimg()"> 
        <img
      src="../../assets/img/ping.png"
    
    style="width:100%"/>
    </div>
    <iframe
      :src="'https://console.huaweicloud.com/dlv/vision/share/?id=4238e3b4bd4845a9a14dfd2d2d1b38d1&locale=zh-cn&region=cn-south-1'"
      width
      height
      frameborder="0"
      name="iframe名称"
      scrolling="no"
    ></iframe>
    <!-- <a v-bind:href="url" v-bind:target="target">查看总部数据看板</a> -->
  </div>
</template>

<script>
export default {
  data() {
    return {
      logininfo: {},
      token: ""
      //   url:
      //     "https://console.huaweicloud.com/dlv/vision/share/?id=4238e3b4bd4845a9a14dfd2d2d1b38d1&locale=zh-cn&region=cn-south-1",
      //   target: "_blank"
    };
  },
  created() {
    // this.logininfo = JSON.parse(localStorage.getItem("logininfo"));
    // this.token = this.logininfo.token;
    // console.log(this.logininfo, "hhhhh");
  },
  mounted() {
    //this.goadmin();
  },
  methods: {
    // goadmin() {
    //   window.location.href =
    //     "http://10.51.4.60:8088/newRetailManageWeb/roleManage/roleListPage.html";
    // }
     clickimg(){
        window.open('https://console.huaweicloud.com/dlv/vision/share/?id=4238e3b4bd4845a9a14dfd2d2d1b38d1&locale=zh-cn&region=cn-south-1')
    }
  }
};
</script>
<style  lang="less" scoped>
iframe {
  width: 100%;
  height: 700px;
}
</style>